# Maintainer: Felix Yan <felixonmars@archlinux.org>
# Contributor: Star Brilliant <echo bTEzMjUzQGhvdG1haWwuY29tCg== | base64 -d>

pkgname=soundfont-fluid
pkgver=3.1
pkgrel=4
pkgdesc="FluidR3 soundfont"
arch=('any')
# Original hammersound.net site no longer exists
url="https://tracker.debian.org/pkg/fluid-soundfont"
license=('custom:MIT')
source=("https://deb.debian.org/debian/pool/main/f/fluid-soundfont/fluid-soundfont_$pkgver.orig.tar.gz")
sha256sums=('2621acaa1c78e4abdb24bdd163230cc577e61276936d6aa6e3180582142f0343')

package() {
  install -Dm0644 "$srcdir/fluid-soundfont-$pkgver/FluidR3_GM.sf2" "$pkgdir/usr/share/soundfonts/FluidR3_GM.sf2"
  install -Dm0644 "$srcdir/fluid-soundfont-$pkgver/FluidR3_GS.sf2" "$pkgdir/usr/share/soundfonts/FluidR3_GS.sf2"
  install -Dm0644 "$srcdir/fluid-soundfont-$pkgver/README" "$pkgdir/usr/share/doc/soundfont-fluid/README"
  install -Dm0644 "$srcdir/fluid-soundfont-$pkgver/COPYING" "$pkgdir/usr/share/licenses/soundfont-fluid/COPYING"
}
